package com.label.entity;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Jianhua
 * @since 2022-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "idlog",type = IdType.INPUT)
    private Integer idlog;

    private Integer userid;

    private String username;

    private Integer patientid;

    @TableField("operationType")
    private String operationType;

    private LocalDateTime operationtime;

    private Integer labelid;

    private String labelname;

    private String oldcontent;

    private String newcontent;

    private String patientname;


}
